package com.moyu.myadmin.process;

import lombok.extern.log4j.Log4j2;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;

/**
 * @author jiaomingyu5778@gmail.com
 * @date 2022/2/21 15:43
 */
@Log4j2
public class ProcessTasks implements JavaDelegate {



    @Override
    public void execute(DelegateExecution execution) {
        log.info("offer " + execution.getVariable("lenderId") + " loans");
    }
}
